import 'package:equatable/equatable.dart';

// abstract class PostEvent {
//   const PostEvent();
// }

sealed class PostEvent extends Equatable {
  @override
  List<Object> get props => [];
}

///事件，可以携带参数
class RefreshEvent extends PostEvent {
  //带参数的方式
  // final int page;
  // final int pageSize;
  // RefreshEvent(this.page, this.pageSize);
  // RefreshEvent(this.page);
}

class LoadMoreEvent extends PostEvent {}
